<?php
namespace Api\Model;
use Think\Model;

class ColumnModel extends Model {
	private $_db='';
	public function __construct(){
		$this->_db=M('menu');
	}
	public function getColumn($data) {
		$ret =	$this->_db->where($data)->order('listorder desc, menu_id desc')->limit(0,30)->select();
		return $ret;
	}
}